package cn.jinhe.doc.domain;

import java.util.HashSet;
import java.util.Set;

public class Service implements java.io.Serializable{

	private Long id;

	private String name;

	private String description;

	private int positions; // 排序用的位置号

//	private Set<ServiceTopic> serviceTopics = new HashSet<ServiceTopic>();
	
	private int topicCount; // 记录数量
	
//	private Topic lastTopic; // 最后发表的记录
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getPositions() {
		return positions;
	}
	public void setPositions(int positions) {
		this.positions = positions;
	}

	public int getTopicCount() {
		return topicCount;
	}
	public void setTopicCount(int topicCount) {
		this.topicCount = topicCount;
	}

	
	
}
